package com.pharmacy.InventoryManage;


import com.pharmacy.InventoryManage.entity.Inventory;
import com.pharmacy.InventoryManage.service.InventoryService;
import com.pharmacy.MedicineManage.dao.MedicineMapper;
import com.pharmacy.MedicineManage.entity.Medicine;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertNotNull;

@SpringBootTest
public class Service {

    @Autowired
    private InventoryService inventoryService;



    @Test
    public void test() {
       inventoryService.updateInventory(new Inventory(12,500,17));
       // inventoryService.addInventory(new Inventory(11,16,17));
       //inventoryService.deleteInventory(16);

    }
}